package towerDefense.projectiles;

import java.awt.image.BufferedImage;
import towerDefense.libraries.TDLibraries;


public class ProjectileQualities
{

    private String myID;
    private int myDamage;
    private int myAOERadius;
    private double mySpeed;


    public ProjectileQualities (String id, int dam, int rad, double spd)
    {
        setID(id);
        setDamage(dam);
        setSpeed(spd);

    }


    public void setID (String id)
    {
        this.myID = id;
    }


    public String getID ()
    {
        return myID;
    }


    public void setDamage (int myDamage)
    {
        this.myDamage = myDamage;
    }


    public int getDamage ()
    {
        return myDamage;
    }


    public void setAOERadius (int myAOERadius)
    {
        this.myAOERadius = myAOERadius;
    }


    public int getAOERadius ()
    {
        return myAOERadius;
    }


    public void setSpeed (double mySpeed)
    {
        this.mySpeed = mySpeed;
    }


    public double getSpeed ()
    {
        return mySpeed;
    }


    public BufferedImage getImage ()
    {
        return TDLibraries.ProjectileLibrary.getImageByName(myID);
    }

}
